using UnityEngine;

public class CustomisationSetSelectButton : MonoBehaviour
{
	public CustomisationConfig.LookSetType myType;

	public CustomisationSelectLayer layer;

	public GameObject selector;

	private void Update()
	{
		if (selector.activeSelf != (myType == layer.activeType))
		{
			selector.SetActive(myType == layer.activeType);
		}
	}

	public void OnClickToChangeSet()
	{
		layer.OnSelectNewTab(myType);
	}
}
